<!DOCTYPE html>
<html lang="zh-cn">
  <head>
    <!-- Meta, title, CSS, favicons, etc. -->
    <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="文档管理">
<meta name="author" content="文档管理">
<title>下载 文档管理</title>
<link href="./assets/css/bootstrap.min.css" rel="stylesheet">
<!-- Documentation extras -->
<link href="./assets/css/docs.css" rel="stylesheet">
<link href="./assets/css/style.css" rel="stylesheet">
<link href="http://cdn.bootcss.com/highlight.js/7.3/styles/github.min.css" rel="stylesheet">
<style>
body{font-family:"ff-tisa-web-pro-1","ff-tisa-web-pro-2","Lucida Grande","Helvetica Neue",Helvetica,Arial,"Hiragino Sans GB","Hiragino Sans GB W3","WenQuanYi Micro Hei",sans-serif;}
h1, .h1, h2, .h2, h3, .h3, h4, .h4, .lead {font-family:"ff-tisa-web-pro-1","ff-tisa-web-pro-2","Lucida Grande","Helvetica Neue",Helvetica,Arial,"Hiragino Sans GB","Hiragino Sans GB W3","Microsoft YaHei UI","Microsoft YaHei","WenQuanYi Micro Hei",sans-serif;}
pre code { background: transparent; }
@media (min-width: 768px) {
    .bs-docs-home .bs-social, 
    .bs-docs-home .bs-masthead-links {
      margin-left: 0;
    }
}
.bs-docs-section p {
	line-height: 2;
}
.bs-docs-section p.lead {
	line-height: 1.4;
}
</style>
<!--[if lt IE 9]><script src="../docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
  <script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.min.js"></script>
  <script src="http://cdn.bootcss.com/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
<!-- Favicons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../docs-assets/ico/apple-touch-icon-144-precomposed.png">
<link rel="shortcut icon" href="../docs-assets/ico/favicon.png">
  </head>
  <body>
    <a class="sr-only" href="#content">Skip to main content</a>

    <!-- Docs master nav -->
    <header class="navbar navbar-inverse navbar-fixed-top bs-docs-nav" role="banner">
  <div class="container">
    <div class="navbar-header">
      <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bs-navbar-collapse">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a href="./overview.html" class="navbar-brand">文档管理</a>
    </div>
    <nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
      <ul class="nav navbar-nav">
       		<li  ><a href="overview.html">简介</a></li>
            <li class='active'><a href="download.html" class="selected">下载</a></li>
            <li ><a href="userguide.html">开发指南</a></li>
            <li ><a href="config.html">配置指南</a></li>
            <li ><a href="syntax.html">语法指南</a></li>
            <li ><a href="integrate.html">Web 框架集成</a></li>
            <!--
            <li ><a href="example.html">例子</a></li>
            -->
            <li ><a href="faq.html">FAQ</a></li>
            <li ><a href="about.html">关于</a></li>
      </ul>
    </nav>
  </div>
</header>
    <!-- Docs page layout -->
    <div class="bs-header" id="content">
      <div class="container">
        <h2>下载</h2>
        <p></p>
      </div>
    </div>
	<a href="#top" id="toTop"></a>
    <!-- Callout for the old docs link -->
    <div class="container bs-docs-container">
      <div class="row">
        <div class="col-md-3">
          <div class="bs-sidebar hidden-print" role="complementary">
            <ul class="nav bs-sidenav">
            <li><a href="#x1815514056">1 开源许可 License</a></li>
            <li><a href="#x769954348">2 第三方依赖包 Dependences</a></li>
            <li><a href="#x271151717">3 Maven 依赖 POM.xml</a></li>
            <li><a href="#x2081807827">4 从源码安装 Sources</a></li>
            <li><a href="#x1214533757">5 范例下载 Samples</a></li>
            <li><a href="#x173772310">6 离线文档下载 Documents</a></li>
            <li><a href="#x1304924747">7 最新版本 Latest Version</a></li>
            <li><a href="#x887846512">8 更新历史 Release Notes</a></li>
            </ul>
          </div>
        </div>
	        <div class="col-md-9" role="main">
	         <div class="bs-docs-section">
	           <h1 id="x1815514056" class="page-header"><span>1 开源许可 License</span></h1>
<p>Copyright 2010-2013 Guoqiang Chen. All rights reserved.<br />Email: <a href="mailto:subchen@gmail.com">subchen@gmail.com</a></p>
<p>Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);<br />you may not use this file except in compliance with the License.<br />You may obtain a copy of the License at</p>
<p><a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a></p>
<p>Unless required by applicable law or agreed to in writing, software<br />distributed under the License is distributed on an &quot;AS IS&quot; BASIS,<br />WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<br />See the License for the specific language governing permissions and<br />limitations under the License.</p>
<h1 id="x769954348" class="page-header"><span>2 第三方依赖包 Dependences</span></h1> 
<ul> 
 <li><a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">JDK 1.6+</a></li> 
 <li><a href="http://www.antlr.org/download.html">ANTLR runtime 4.x</a></li> 
 <li><a href="http://www.slf4j.org/">Slf4j 1.7.x</a></li> 
</ul> 
<blockquote>
 <p><strong>注意</strong>： </p>
 <p>jetbrick-template 需要使用 jdk6+ 里面的 tools.jar 来编译模板生成的 Java 源文件。如果只有 jre6+，那么可以 copy 一个对应的 tools.jar 到 classpath 下面。<br />现在我们也支持 JDT（Eclipse Java Compiler） 编译 java。只需要把 org.eclipse.jdt.core_xxx.xxx.jar (又名 ecj.jar) 加入到 classpath，然后设置 <code>compile.tool = jetbrick.template.compiler.JdtCompiler</code> 即可。</p> 
</blockquote>
<h1 id="x271151717" class="page-header"><span>3 Maven 依赖 POM.xml</span></h1>
<p>已发布到 Maven 中央库： <a href="http://central.maven.org/maven2/com/github/subchen/">http://central.maven.org/maven2/com/github/subchen/</a></p> 
<div class="highlight">
 <pre><code class="language-html">&lt;project&gt;
  &lt;dependencies&gt;
    &lt;dependency&gt;
      &lt;groupId&gt;com.github.subchen&lt;/groupId&gt;
      &lt;artifactId&gt;jetbrick-template&lt;/artifactId&gt;
      &lt;version&gt;1.2.3&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
      &lt;groupId&gt;org.antlr&lt;/groupId&gt;
      &lt;artifactId&gt;antlr4-runtime&lt;/artifactId&gt;
      &lt;version&gt;4.1&lt;/version&gt;
    &lt;/dependency&gt;
    &lt;dependency&gt;
      &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
      &lt;artifactId&gt;slf4j-api&lt;/artifactId&gt;
      &lt;version&gt;1.7.5&lt;/version&gt;
    &lt;/dependency&gt;
  &lt;/dependencies&gt;
&lt;project&gt;
</code></pre>
</div>
<p>Eclipse Java Compiler.</p> 
<div class="highlight">
 <pre><code class="language-html">&lt;dependency&gt;
    &lt;groupId&gt;org.eclipse.jdt.core.compiler&lt;/groupId&gt;
    &lt;artifactId&gt;ecj&lt;/artifactId&gt;
    &lt;version&gt;4.3.1&lt;/version&gt;
&lt;/dependency&gt;
</code></pre>
</div>
<h1 id="x2081807827" class="page-header"><span>4 从源码安装 Sources</span></h1>
<p>github: <a href="https://github.com/subchen/jetbrick-template">https://github.com/subchen/jetbrick-template</a></p>
<p>编译方法：</p> 
<ol> 
 <li><p>先安装 apache-ant 1.9.x</p> 
  <div class="highlight">
   <pre><code class="language-html">wget http://mirrors.cnnic.cn/apache//ant/binaries/apache-ant-1.9.2-bin.zip
</code></pre>
  </div></li> 
 <li><p>设置好 JDK, ANT 环境变量</p> 
  <div class="highlight">
   <pre><code class="language-html">set JAVA_HOME=/path/jdk_1.6.x
set ANT_HOME=/path/apache-ant_1.9.x
set PATH=%JAVA_HOME%/bin;%ANT_HOME%/bin;%PATH%
</code></pre>
  </div></li> 
 <li><p>编译</p> 
  <div class="highlight">
   <pre><code class="language-html">git clone https://github.com/subchen/jetbrick-template.git
cd jetbrick-template
ant dist
</code></pre>
  </div></li> 
 <li><p>编译后的文件存放在 build 目录中</p> 
  <div class="highlight">
   <pre><code class="language-html">jetbrick-template-x.x.x.jar
jetbrick-template-x.x.x.zip
jetbrick-template-x.x.x-all.zip
</code></pre>
  </div></li> 
</ol>
<p><a name="samples"></a></p>
<h1 id="x1214533757" class="page-header"><span>5 范例下载 Samples</span></h1>
<h3 id="x988598897" class="page-header"><span>5.0.1 官方范例：</span></h3> 
<ul> 
 <li><a href="demo/jetx-samples-servlet.zip">jetx-samples-servlet.zip</a></li> 
 <li><a href="demo/jetx-samples-jfinal.zip">jetx-samples-jfinal.zip</a></li> 
 <li><a href="demo/jetx-samples-springmvc.zip">jetx-samples-springmvc.zip</a></li> 
 <li><a href="demo/jetx-samples-struts.zip">jetx-samples-struts.zip</a></li> 
 <li><a href="demo/jetx-samples-jodd.zip">jetx-samples-jodd.zip</a></li> 
</ul>
<p>下载的 zip 包中包含完整的源代码和可直接运行的 war 包。<br />更多代码可以前往： <a href="https://github.com/subchen/jetbrick-template-webmvc-samples/">https://github.com/subchen/jetbrick-template-webmvc-samples/</a></p>
<h3 id="x396207507" class="page-header"><span>5.0.2 网友提供的范例：</span></h3> 
<ul> 
 <li><a href="demo/jetx-samples-nutz-by-howe.zip">jetx-samples-nutz-by-howe.zip</a></li> 
 <li><a href="demo/jetx-samples-springmvc-by-yingzhuo.zip">jetx-samples-springmvc-by-yingzhuo.zip</a></li> 
</ul>
<h3 id="x1941967230" class="page-header"><span>5.0.3 自定义标签 Tags/Methods/Functions：</span></h3> 
<ul> 
 <li><a href="demo/jetbrick-template-extend-1.0.8.zip">jetbrick-template-extend-1.0.8</a></li> 
</ul>
<p>更多信息，前往： <a href="https://github.com/yingzhuo/jetbrick-template-extend">https://github.com/yingzhuo/jetbrick-template-extend</a></p>
<p>感谢网友 应卓 提供相关的实现。</p>
<p><a name="documents"></a></p>
<h1 id="x173772310" class="page-header"><span>6 离线文档下载 Documents</span></h1>
<p><a href="download/jetbrick-template-1.2.2-documents.pdf">jetbrick-template-1.2.2-documents.pdf</a></p>
<p>感谢网友 laughing 提供离线 PDF 文档。</p>
<p><a name="version"></a></p>
<h1 id="x1304924747" class="page-header"><span>7 最新版本 Latest Version</span></h1> 
<ul> 
 <li><a href="download/jetbrick-template-1.2.3.zip">jetbrick-template-1.2.3.zip</a></li> 
 <li><a href="download/jetbrick-template-1.2.3-all.zip">jetbrick-template-1.2.3-all.zip</a></li> 
</ul>
<p>更多历史版本，请看<a href="history.html">这里</a></p>
<h1 id="x887846512" class="page-header"><span>8 更新历史 Release Notes</span></h1>
<p><a name="release_notes_1_2_3"></a><br /><strong>Version 1.2.3 (2014-03-10)</strong></p> 
<ul> 
 <li>[新增] <a href="https://github.com/subchen/jetbrick-template/issues/82">#82 支持自定义的全局变量</a></li> 
 <li>[新增] <a href="https://github.com/subchen/jetbrick-template/issues/83">#83 增加 Eclipse Java Compiler 支持</a></li> 
 <li>[修复] <a href="https://github.com/subchen/jetbrick-template/issues/80">#80 WildFly 8.0.0 autoscan/compile error.</a></li> 
 <li>[修复] <a href="https://github.com/subchen/jetbrick-template/issues/81">#81 resin-3.1.13 compile issue</a></li> 
</ul>
           	</div>
           </div>
		</div> 
 	</div>
    <!-- Footer
    ================================================== -->
    <footer class="bs-footer" role="contentinfo">
      <div class="container">
        <ul class="footer-links">
          <li>当前版本： v0.0.3</li>
          <li class="muted">&middot;</li>
          <li><a href="http://v2.bootcss.com/">Bootstrap 2.3.2 中文文档</a></li>
          <li class="muted">&middot;</li>
          <li><a href="http://www.bootcss.com">Bootstrap中文网</a></li>
          <li class="muted">&middot;</li>
          <li><a href="http://blog.getbootstrap.com">官方博客</a></li>
          <li class="muted">&middot;</li>
          <li><a href="https://github.com/twbs/bootstrap/issues?state=open">Issues</a></li>
          <li class="muted">&middot;</li>
          <li><a href="https://github.com/twbs/bootstrap/releases">Releases</a></li>
        </ul>
      </div>
    </footer>

    <!-- JS and analytics only. -->
<script src="http://cdn.bootcss.com/jquery/1.10.2/jquery.min.js"></script>
<script src="./assets/js/bootstrap.js"></script>
<script src="http://cdn.bootcss.com/holder/2.0/holder.min.js"></script>
<script src="http://cdn.bootcss.com/highlight.js/7.3/highlight.min.js"></script>
<script >hljs.initHighlightingOnLoad();</script>
<script src="./assets/js/application.js"></script>
<script src="./assets/js/jquery.scrollToTop.min.js"></script>
<script text="javascript/text">
	$(document).ready(function(){
		$("#toTop").scrollToTop(1000);
  		$("table").addClass("table table-bordered");
  	});
</script>
  </body>
</html>
